home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr22 / m5cache.zip / M5.CFG < prev    next >
Text File  |  1993-06-15  |  4KB  |  136 lines

  1.  
  2. ***********************************************************************
  3.  
  4.   M5.CFG
  5.  
  6.   This file is used by the program M5.EXE to configure the M5 registers
  7.   according to the data contained in this file.  M5.EXE reads each
  8.   line in this file looking for a matching token(setup string) so it
  9.   can convert the string into the value for the appropriate M5 register.
  10.  
  11.   To use this file, look for the token(setup string) lines at the end
  12.   of each section below.  Enter a HEX value that appropriately sets up
  13.   the cache.  You can edit the value on the right side of the "=" sign,
  14.   but you cannot edit the token itself.
  15.  
  16. ***********************************************************************
  17.  
  18. Cache Coniguration Register 0
  19.  
  20.     M5 Register 0C0h
  21.  
  22.     Bit 0   - NC0:   If = 1, sets the first 64Kbytes at each 1 Mbyte
  23.           boundry as non-cacheable, when operating in real or
  24.           virtual 8086 mode.
  25.         1   - MC1:   If = 1, sets t640 Kbytes to 1Mbyte region as non-
  26.           cacheable.
  27.         2   - A20M:  If = 1, enables A20M# input pin.
  28.         3   - KEN:   If = 1, enables KEN# input pin.
  29.         4   - FLUSH: If = 1, enables KEN# input pin.
  30.         5   - BARB:  If =, enables flushing of internal cache when
  31.           hold state is entered.
  32.         6   - C0: Selects cache organization:
  33.             0 = 2-way set associative
  34.             1 = directed mapped
  35.         7   - SUSPEND: If = 1, enables SUSP# input and SUSPA# output
  36.           pins.
  37.  
  38. setup string (value in HEX)
  39. CC_0=1
  40.  
  41. ***********************************************************************
  42.  
  43. Cache Coniguration Register 1
  44.  
  45.     M5 Register 0C1h
  46.  
  47.     Bit 0   - RPL: If = 1, enables output pins RPLSET and RPLVAL#.  If
  48.           not enabled, outputs RPLSET and RPLVAL# wil float.
  49.     7-1     - reserved
  50.  
  51. setup string (value in HEX)
  52. CC_1=0
  53.  
  54. ***********************************************************************
  55. Non-Cacheable Region 1
  56.  
  57.     M5 Register C4, C5, and C6
  58.  
  59.     C4h
  60.     Bits 7-0 - Address bits A31 - A24 of Region 1 starting address
  61.  
  62.     C5h
  63.     Bits 7-0 - Address bits A23 - A16 of Region 1 starting address
  64.  
  65.     C6h
  66.     Bits 7-4 - Address bits A15 - A12 of Region 1 starting address
  67.          3-0 - Size of non-cacheable Region 1
  68.  
  69. setup string (values in HEX)
  70. NCR_1_C4=00
  71. NCR_1_C5=0a
  72. NCR_1_C6=06
  73.  
  74. ***********************************************************************
  75. Non-Cacheable Region 2
  76.  
  77.     M5 Register C7, C8 and C9h
  78.  
  79.     C7h
  80.     Bits 7-0 - Address bits A31 - A24 of Region 2 starting address
  81.  
  82.     C8h
  83.     Bits 7-0 - Address bits A23 - A16 of Region 2 starting address
  84.  
  85.     C9h
  86.     Bits 7-4 - Address bits A15 - A12 of Region 2 starting address
  87.          3-0 - Size of non-cacheable Region 2
  88.  
  89. setup string (values in HEX)
  90. NCR_2_C7=00
  91. NCR_2_C8=0c
  92. NCR_2_C9=07
  93.  
  94. ***********************************************************************
  95. Non-Cacheable Region 3
  96.  
  97.     M5 Register CA, CB and CCh
  98.  
  99.     CAh
  100.     Bits 7-0 - Address bits A31 - A24 of Region 3 starting address
  101.  
  102.     CBh
  103.     Bits 7-0 - Address bits A23 - A16 of Region 3 starting address
  104.  
  105.     CCh
  106.     Bits 7-4 - Address bits A15 - A12 of Region 3 starting address
  107.          3-0 - Size of non-cacheable Region 3
  108.  
  109. setup string (values in HEX)
  110. NCR_3_CA=00
  111. NCR_3_CB=00
  112. NCR_3_CC=00
  113.  
  114. ***********************************************************************
  115.  
  116. Non-Cacheable Region 4
  117.  
  118.     M5 Register CD, CE and CFh
  119.  
  120.     CDh
  121.     Bits 7-0 - Address bits A31 - A24 of Region 4 starting address
  122.  
  123.     CEh
  124.     Bits 7-0 - Address bits A23 - A16 of Region 4 starting address
  125.  
  126.     CFh
  127.     Bits 7-4 - Address bits A15 - A12 of Region 4 starting address
  128.          3-0 - Size of non-cacheable Region 4
  129.  
  130. setup string (values in HEX)
  131. NCR_4_CD=00
  132. NCR_4_CE=00
  133. NCR_4_CF=00
  134.  
  135. **********************************************************************
  136.